From 5c793a2947fbcbfe1fc86e7e09cdd158c86d8b81 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 12 Sep 2016 21:45:29 -0400 Subject: [PATCH] Document recommended way for running tests Fixes #3084. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 49d73629a..71c74508d 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,12 @@ bit versions of cargo on unix you would use: $ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu ``` +## Running the tests + +To run cargo's tests, use `cargo test`. If you do not have the cross-compilers +installed locally, ignore the cross-compile test failures, or disable them by +using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. + ## Adding new subcommands to Cargo Cargo is designed to be extensible with new subcommands without having to modify -- 2.30.2